﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Docentric.Examples.Data.BusinessObjects.DataModel
{
    public class Customer
    {
        public long Id { get; set; }
        public string Company { get; set; }
        public string LastName { get; set; }
        public string FirstName { get; set; }
        public string EmailAddress { get; set; }
        public string JobTitle { get; set; }
        public string BusinessPhone { get; set; }
        public string HomePhone { get; set; }
        public string MobilePhone { get; set; }
        public string FaxNumber { get; set; }
        public Address Address { get; set; }


        #region Navigation properties
        private List<Order> _orders = new List<Order>();
        public List<Order> Orders
        {
            get
            {
                return _orders;
            }
        }
        #endregion
    }
}
